package per.mnxc.service;

import per.mnxc.common.R;
import per.mnxc.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mnxc
 * @since 2022-11-26
 */
public interface IUserService extends IService<User> {

    R<User> login(HttpServletRequest request,User user);

    R<String> logout(HttpServletRequest request);
}
